import { WEB_URL } from '@/config'

export const LINK_URL = WEB_URL
// 联系客服
export const CONTACT_SERVICE_URL = `${WEB_URL}service.html`
export const NOTICE_URL = `${WEB_URL}notice/`

/**
 * 公共部分
 */
// 获取初始化信息
export const GET_INIT_INFO = '/init/info'

export const GET_COIN_PAIR_INFO = '/exchange/market'

// 检查新版本
export const GET_VERSION = '/currency/get-version'
// 轮播图
export const GET_SLIDES = '/start/start-page'
// 推荐币
export const GET_RECOMMEND = '/exchange/market-recommend'

/**
 * auth
 */
// 邮箱登录
export const EMAIL_LOGIN = '/register/email-sign'
// 二次登录
export const SECOND_LOGIN = '/register/second-login'
// 手机号登录
export const PHONE_LOGIN = '/register/sign'
// 获取用户信息
export const GET_USER_INFO = '/member/info'
// 发送手机验证码
export const SEND_SMS = '/register/mobile-varcode'
// 注册
export const PHONE_SIGN = '/register/register'
// 发送邮箱验证码
export const EMAIL_CODE = '/register/email-varcode'
// 邮箱注册
export const EMAIL_SIGN = '/register/email-register'

// 更改用户信息
export const EDIT_USER_INO = '/member/info-update'

/**
 * 我的推荐
 */
// 我的推荐码
export const REFERRAL_INFO = '/register/recommend'
// 我的推荐奖励
export const REFERRAL_REWARD = '/user/invite-info'
// 推荐达人榜
export const REFERRAL_RANK = '/user/invite-rank'

/**
 * 实名认证
 */
// 上传照片
export const UPLOAD_PHOTO = '/certification/upload-image'
// 上传截图
export const UPLOAD_CAPTURE = '/merchants/image'
// 提交认证-个人
export const AUTH_PERSON = '/certification/set-real'
// 上传视频
export const UPLOAD_VIDEO = '/merchants/video'
// 提交认证-商家
export const AUTH_MESINESS = '/merchants/merchants'
// 申请重新提交-商家
export const ELIMINATE_AUTH = '/merchants/eliminate'

/**
 * 安全中心
 */
// 修改密码
export const UPDATE_PASSWORD = '/user/password-edit'
// 重置密码
export const FORGET_PASSWORD = '/register/forget-password'
export const EMAIL_FORGET_PASSWORD = '/register/email-forget-password'
// 发送邮箱验证码
export const SEND_EMAIL_CODE = '/register/email-varcode'
// 绑定邮箱
export const BIND_EMAIL = '/user/bind-email'
// 绑定手机
export const BIND_PHONE = '/user/bind-phone'
// 谷歌二次验证
export const GOOGLE_CHEKC = '/register/open-google-check'

/**
 * 提币地址
 */
// 地址列表
export const ADDRESS_LIST = '/withdraw/get-address'
// 获取币种
export const COIN_LIST = '/withdraw/coin-list'
// 添加地址
export const ADD_ADDRESS = '/withdraw/add-address'
// 修改地址
export const EDIT_ADDRESS = '/withdraw/edit-address'
// 删除地址
export const EDL_ADDRESS = '/withdraw/del-address'

/**
 * 收款方式
 */
// 获取列表
export const PROCEED_METHOD = '/gathering/get-method'
// 获取列表
export const GATHERING_LIST = '/gathering/get-list'
// 获取详情
export const GET_PROCEED = '/gathering/get-one'
// 修改方式
export const UP_PROCEED = '/gathering/up-proceed'
// 添加方式
export const ADD_PROCEED = '/gathering/add-proceed'
// 删除方式
export const DEL_PROCEED = '/gathering/del-proceed'
// 获取银行列表
export const GET_BANK = '/gathering/get-bank'

/**
 * 转账明细
 */
export const RECHARGE_DETAILS = '/bank/recharge-details'
export const APPLY_LOG = '/bank/apply-log'

/**
 * 消息通知
 */
export const GET_CATE = '/start/cate'
export const GET_MESSAGE = '/member/message-list'

/**
 * OTC
 */
// otc币种列表
export const OTC_COIN_LIST = '/otc/coin-list'
export const OTC_MARKET_LIST = '/otc/market-list'
export const OTC_MARKET_DETAIL = '/otc/market-detail'
export const OTC_ORDER = '/otc/order'
export const OTC_PUBLISH_INFO = '/otc/publish-info'
// OTC交易记录
export const OTC_ORDER_HISTORY = '/otc/order-history'
// 订单详情
export const OTC_ORDER_DETAIL = '/otc/order-info'
// 删除订单
export const DEL_ORDER = '/otc/cancel-order'
// 订单已付款
export const PAYMENT_ORDER = '/otc/pay'
// 放币
export const OTC_MAKE_DEAL = '/otc/deal'
// 申诉-上传图片
export const OTC_UPDATE_IMAGE = '/otc/image'
// 申诉提交
export const OTC_APPEAL = '/otc/appeal'

// 我的发布
export const MY_MARKET = '/otc/my-market'
// 撤销发布
export const DISABLE_MARKET = '/otc/disable-market'
// 启用发布
export const ENABLE_MARKET = 'otc/enable-market'
// 删除发布
export const DELETE_MARKET = 'otc/del-market'

/**
 * 资产管理
 */
export const GET_EXCHANGE_BALANCE = '/exchange/balance'
export const GENERATE_WITHDRAW_ADDRESS = '/withdraw/generate-address'
export const GET_WITHDRAW_RESTRICTIONS = '/bank/withdraw-prepare'
export const APPLY_WITHDRAW = '/withdraw/turn-out'
export const APPLY_RECHARGE = '/withdraw/apply-recharge'

/**
 * 币币交易
 */
export const CREATE_ORDER = '/exchange/order-limit'
export const CANCEL_ORDER = '/exchange/cancel-order'
// 添加自选
export const ADD_SELF = '/trade/trade-add'
// 取消自选
export const CANCEL_SELF = '/trade/trade-delete'
// 闪兑
export const CREATE_QUICK_ORDER = '/exchange/order-quick'

/**
 * 矿机
 */
// 矿机数据概览
export const OVERVIEW = '/user/overview'
// 获取矿机列表
export const WEATH_PACKAGE = '/user/weathpackage'
// 购买矿机
export const WEATH_BUY_PACKAGE = '/user/weathbuypackage'
// 我的矿机
export const MY_WEATH = '/user/myweath'
// 收益记录
export const WEATH_PROFIT = '/user/weathprofit'
